From: LLVM Packaging Team Date: Sat, 8 Nov 2025 13:36:04 +0000 (+0100) Subject: compilerrt-build-scudo-standalone-option X-Git-Tag: archive/raspbian/1%18.1.8-20+rpi1~1^2~34 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=41b5fa7bcab2e645195c199b7d8ea3d1d21230ed;p=llvm-toolchain-18.git compilerrt-build-scudo-standalone-option add option to disable compiler-rt scudo standalone allocator as it is not always supported by all arch profiles such as arm5vt of ARM32 arch Gbp-Pq: Topic compiler-rt Gbp-Pq: Name compilerrt-build-scudo-standalone-option.diff --- diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt index bbb4e8d7c3..ecad20b105 100644 --- a/compiler-rt/CMakeLists.txt +++ b/compiler-rt/CMakeLists.txt @@ -282,6 +282,12 @@ option(COMPILER_RT_USE_BUILTINS_LIBRARY include(config-ix) +option(COMPILER_RT_BUILD_SCUDO_STANDALONE + "override whether or not to build scudo standalone" ON) +if(NOT COMPILER_RT_BUILD_SCUDO_STANDALONE) + set(COMPILER_RT_HAS_SCUDO_STANDALONE FALSE) +endif() + #================================ # Setup Compiler Flags #================================